import re
totalCount = '5302次阅读'
result = re.sub("\D", "", totalCount)
print(result)
print(type(result))
res = int(result)
print(res)
print(type(res))